﻿namespace Fine.Collections.Intf
{
    /// <summary>
    /// Map iterator.
    /// Iterates over map entries.
    /// </summary>
    public interface RMapIterator<K, out V> : RIterator<RMapEntry<K,V>>
    {
        /// <summary>
        /// Current key.
        /// </summary>
        K CurrentKey { get; }

        /// <summary>
        /// Current value.
        /// </summary>
        V CurrentValue { get; }
    }
}
